var phoneCache={};


var setPhoneCache=function(obj){
    phoneCache=obj;
}

function bulidPhone(paramMap) {
    var phone =  paramMap["phone"];
    if(phone) {
        var phoneLocation = phoneCache[phone.substring(0, 7)];
        if(phoneLocation!=null) {
            paramMap["phone_province"]= phoneLocation.province;
            paramMap["phone_city"]=phoneLocation.city;
            paramMap["phone_service"]= phoneLocation.communication_operators;
        }
    }

}